In short, a URL to a file named "Some File Name" must have spaces and unprintables encoded with the "%xx" syntax, where "xx" is a 2 character hex representation of the encoded character. In this example, the URL might be: http://some.host.edu/Some%20File%20Name
The burden is on the HTML author and/or WWW client user to specify URLs correctly. MacHTTP must follow the syntax of URLs and interpret a space as indicating the end of the URL. Otherwise, clients and users that DO follow the syntax will have their requests fail.